//
//  ElasticShapeLayer.h
//  练习_11.04_1
//
//  Created by rimi1 on 2016/11/4.
//  Copyright © 2016年 Wangxingqian. All rights reserved.
//

#import <QuartzCore/QuartzCore.h>

@interface ElasticShapeLayer : CAShapeLayer

// 传视图的大小，弹性值，视图变形次数(弹次数)，圆角，填充颜色
- (instancetype)initWithSize:(CGSize)size
                     elastic:(CGFloat)elastic
                elasticCount:(NSInteger)elasticCount
                    circular:(CGFloat)circular
                   fillColor:(CGColorRef)fillColor;

// 开始动画
- (void)showAnimation;

@end
